package com.hnchances.grade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hnchances.grade.common.utils.PageUtils;
import com.hnchances.grade.common.utils.R;
import com.hnchances.grade.entity.UserEntity;
import com.hnchances.grade.vo.RegisterVo;
import com.hnchances.grade.vo.UpdateUserVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lpj
 * @email ${email}
 * @date 2022-08-27 15:10:23
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void registe(RegisterVo registerVo) throws Exception;

    R removeByIdConditions(Integer id, String token);

    R updateByIdDetail(UpdateUserVo updateUserVo);

    List<UserEntity> listWithoutPassword();
}

